cmake_minimum_required(VERSION 3.0.0)

# set the project name
project(perf-monitor-unit)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 设置编译选项
set(SRC_LIST src/pmu.cc
  )

add_executable(testPMU ${SRC_LIST} tests/main.cc)
target_include_directories(testPMU PRIVATE ${PROJECT_SOURCE_DIR}/src/)
target_compile_options(testPMU PRIVATE -Wall -Wextra -g -O0 -ggdb)

